package com.my.study.dev.demo.support;

import com.my.study.dev.demo.PermissionCheckStrategy;
import com.my.study.dev.demo.RequestDto;

/**
 * @author Carlos
 * @version 1.0.0
 * @date 2023/4/11 19:37
 */
public class FundPermissionCheckStrategy implements PermissionCheckStrategy {
    
    
    
    @Override
    public boolean check(RequestDto request) {
        String param = request.getParam();
        if ("FUND".equals(param)) {
            return true;
        }
        return false;
    }
}
